<?php

namespace App\Ship\Traits;

use App\Ship\Criterias\OrderByCriteria;

trait HasOrderByCriteriaTrait
{
    public function addOrderByCriteria(): self
    {
        $this->repository->pushCriteria(app(OrderByCriteria::class));

        return $this;
    }
}
